https://handbookgermany.de/en/self-employment#faq_403
What kind of insurance do I need?